package com.juneyao.log.logcenter.domain.request;

import javax.validation.constraints.Min;
import java.io.Serializable;

/**
 * @author quanbiao
 * @date 2018-07-30
 * 操作日志查询请求实体
 */
public class LogOperateRequest implements Serializable{

    private static final long serialVersionUID = 6988279758843320461L;

    /**
     * 开始时间
     */
    private String beginDate;

    /**
     * 结束时间
     */
    private String endDate;

    /**
     * 菜单(服务名)
     */
    private String serviceName;

    /**
     * 日志类型
     */
    private String type;

    /**
     * 系统类型
     */
    private String systemType;

    /**
     * 分页码
     */
    @Min(value = 1, message = "pageNum min value >= 1")
    private Integer pageNum;

    /**
     * 条数
     */
    @Min(value = 1, message = "pageSize min value >= 1")
    private Integer pageSize;

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(String beginDate) {
        this.beginDate = beginDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSystemType() {
        return systemType;
    }

    public void setSystemType(String systemType) {
        this.systemType = systemType;
    }
}
